package main

import (
	"log"
	"net/rpc"
)

type Request struct {
}

type Response struct {
}

func main() {
	client, err := rpc.DialHTTP("tcp", ":1234")
	if err != nil {
		log.Fatal("dialing:", err)
	}
	var response Response
	var req Request
	err = client.Call("Server.HelloRpc", req, &response)
	if err != nil {
		log.Fatal("error:", err)
	}
}
